package com.example.shop.service;

import com.example.shop.model.req.AddGoodsDTO;
import com.example.shop.model.req.GoodsDTO;
import com.example.shop.model.resp.GoodsDetail;
import com.example.shop.model.resp.GoodsList;

import java.util.List;

/**
 * @author qwert
 * @version 1.0.0
 * @create 2025/9/2 22:48
 **/
public interface GoodsService {
    void saveGoods(AddGoodsDTO addGoodsDTO);

    GoodsDetail getGoodsDetail(String goodsId);

    List<GoodsList> getGoodsList();

    void saveGoods(GoodsDTO goodsDTO);
}
